projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf26d46
)
GtkActionHelper: Fix a copy-paste error
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Nov 2012 03:12:58 +0000
(22:12 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Nov 2012 04:10:34 +0000
(23:10 -0500)
The code clearly meant to reset action->active here.
This was found by Coverity.
gtk/gtkactionhelper.c
patch
|
blob
|
history
diff --git
a/gtk/gtkactionhelper.c
b/gtk/gtkactionhelper.c
index a3a0c46a0762f761e874a1582e60782c6aef318f..0445a5eb558aff237d883fa62e72e0041528d933 100644
(file)
--- a/
gtk/gtkactionhelper.c
+++ b/
gtk/gtkactionhelper.c
@@
-189,7
+189,7
@@
gtk_action_helper_action_removed (GtkActionHelper *helper)
if (helper->active)
{
- helper->
enabled
= FALSE;
+ helper->
active
= FALSE;
gtk_action_helper_report_change (helper, PROP_ACTIVE);
}